package com.zhaotianhao.springboot_demo_fire.service;

import com.github.pagehelper.PageInfo;
import com.zhaotianhao.springboot_demo_fire.entity.Firearms;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Z-7
 * @since 2022-03-22
 */
public interface IFirearmsService extends IService<Firearms> {
    /**
     * 列表
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageInfo<Firearms> getPageInfo(int pageNum, int pageSize);
    /**
     * 根据id查询
     * @param id
     * @return
     */
    Firearms queryById(Integer id);
}
